/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: dings
 * Date: 2024-05-18
 * Time: 15:41
 */
public class OutClass {
    public int data1 = 1;
    int data2 = 2;
    public static int data3 = 3;

    static class InnerClass {

        public static int data4 = 4;
        public int data5 = 5;
        int data6 = 6;

        public void func() {
            OutClass outClass = new OutClass();
            System.out.println(outClass.data1);
            System.out.println(outClass.data2);
            System.out.println(data3);
            System.out.println(data4);
            System.out.println(data5);
            System.out.println(data6);
        }
    /*class InnerClass {
        public int data1 = 100;
        public static int data4 = 4;
        public int data5 = 5;
        int data6 = 6;

        public void func() {
            System.out.println(data1);
            System.out.println(OutClass.this.data1);
            System.out.println(data2);
            System.out.println(data3);
            System.out.println(data4);
            System.out.println(data5);
            System.out.println(data6);
        }*/
    }
}
class A {

    static class B {

    }

}